package com.bing.habit.service;

import com.bing.habit.entity.ClockinRecord;

import java.util.List;

public interface ClockInRecordService {
    void addOrUpdate(ClockinRecord clockinRecord);
    void delete(int id);
    boolean listByToday(int hid);
    boolean listByYesterday(int hid);
    ClockinRecord listTodayIn(int hid);
    List<Integer> listWeeks(int hid);
    List<Integer> listMonths(int hid, String date);
    //根据习惯id查询打卡记录
    List<ClockinRecord> queryByHabitId(int habitId);
    void deleteBatchIds(List<Integer> ids);
}
